package paquete;
import java.util.List;

import tarea.manejoTareas;
import tarea.tarea;

import com.opensymphony.xwork2.ActionSupport;

@SuppressWarnings("serial")
public class visitanteAction extends ActionSupport{

	List<tarea> tareas;
 	
	@Override
    public String execute() throws Exception
    {
		manejoTareas mt=new manejoTareas();
		tareas=mt.generarLista();
		
       	return SUCCESS;

    }
	
	public List<tarea> getTareas(){
		return tareas;
	}
	
	public void setTareas(List<tarea> tar){
		 tareas=tar;
	}
}
 